<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>注册页面</title>
    <link rel="stylesheet" href="common/bootstrap.min.css">
    <link rel="stylesheet" href="css/layout/assets.css">
    <link rel="stylesheet" href="css/layout/layout.css">
    <link rel="stylesheet" href="css/plugs/buttons.css">
    <link rel="stylesheet" href="css/plugs/style.css">
    <link rel="stylesheet" href="css/register/register.css">
    <link rel="stylesheet" href="">
    <script src="common/angular.min.js"></script>
    <script src="angularjs/registerApp.js"></script>
</head>
<body ng-app="registerApp">
<!-- **********用户浏览器版本<=IE8**********-->
<!--[if lte IE8]>
<p>浏览器版本太低，请<a tagert="_blank" href="http://www.browsehappy.com">升级</a>为最新的ie浏览器！</p>
<![endif]-->
<div class="ct-container" class="col-md-12" ng-controller="MainController">
    <header class="share-header col-md-12">

    </header>
    <div class="register-login-content col-md-12">

        <div class="paper-content">
            <header class="paper-header">Account Register</header>
            <form ng-controller="formController" ng-submit="register()">
                <ul class="form-place col-md-12" id="formplace">
                    <li style="margin-top:25px">
                        <div class="user-div">
                            <input name="username" inptype="1" id="userinput" type="text" ng-model="user.usernameValue"
                                  ng-blur="check_username_exist()" placeholder="用户名：5~15个字符，不能有空格">
                        </div>
                        <span class=""></span>
                    </li>
                    <li>
                        <div class="password-div">
                            <input name="password" inptype="1" id="passwordinput" type="password"
                            ng-model="user.passwordValue" placeholder="密码：6~16个字符，首尾不能有空格">
                        </div>
                        <span class=""></span>
                    </li>
                    <li>
                        <div class="cpassword-div">
                            <input name="cpassword" inptype="1" id="cpasswordinput"
                            ng-model="user.cpasswordValue" type="password" placeholder="确认密码：请重复你的密码">
                        </div>
                        <span class=""></span>
                    </li>
                    <li>
                        <span class="sex-choice"></span>
                        <!--style="background-image: url('image/user/sex.png');border-radius: 2px;float: left;">-->
                        <div class="sex-div" style="margin-left:20px;">
                            <span class="sex-logo" index="1" style=""></span>
                            <input name="sex" class="sex-radio" id="sex-female" type="radio"
                                ng-model="user.sexValue" value="0"/>
                            <label name="female" class="" for="sex-female"></label>
                        </div>
                        <div class="sex-div">
                            <span class="sex-logo" index="2"></span>
                            <input name="sex" class="sex-radio" id="sex-male" type="radio"  ng-model="user.sexValue" value="1"/>
                            <label name="male" class="" for="sex-male"></label>
                        </div>
                        <div class="sex-div">
                            <span class="sex-logo" index="3"></span>
                            <input name="sex" class="sex-radio" id="sex-secret" type="radio"
                            checked="checked" ng-model="user.sexValue" value="2"/>
                            <label name="secret" class="" for="sex-secret"></label>
                        </div>

                    </li>

                    <li>
                        <div class="email-div">
                            <input id="emailinput" name="email" inptype="1" type="text" ng-blur="check_email_exist()"
                             ng-model="user.emailValue" placeholder="邮箱：请输入你的邮箱地址">
                            <button class="butt" ng-disabled="sendIsable" ng-click="getCode()" id="emailbutton" type="button">{{text}}</button>
                        </div>
                        <span class=""></span>
                    </li>

                    <li>
                        <div class="code-div">
                            <input name="code" inptype="1" type="text" id="codeinput" placeholder="验证码" ng-model="user.codeValue">
                        </div>
                        <button class="butt" ng-disabled="submitIsable" id="submitbutton" type="submit">注册</button>
                    </li>
                </ul>
            </form>
        </div>

    </div>

    <!--
        作者：806551840@qq.com
        时间：2017-11-02
        描述：三个页面的尾部 .share-footer
    -->
    <footer class="share-footer col-md-12">

    </footer>

    <div id="error-box">
        <p id="error-info">出错了
        <p>
    </div>

</div>
</body>
<script src="js/main.js"></script>
<script src="js/register.js"></script>
<script>

</script>
</html>
